Package-level declarations

Types

Link copied to clipboard
class AchievableGoalValidator(agentName: String, agentClass: Class<*>, agentInstance: Any, requireInterfaceDeserializationAnnotations: Boolean) : AgentValidator

Validator that checks methods annotated with AchievesGoal. Specific check includes:

Link copied to clipboard
fun interface AgentValidator
Link copied to clipboard
class DefaultAgentStructureValidator(val context: <Error class: unknown class>) : AgentStructureAgentValidator

Validator that checks the fundamental structure of agent definitions.

Link copied to clipboard
Link copied to clipboard
data class DetailedValidationResult(val isValid: Boolean, val results: Map<AgentValidator, ValidationResult>)
Link copied to clipboard

Validator that checks whether an agent definition has at least one possible path from its initial conditions, through available actions, to achieve its defined goals.

Link copied to clipboard

Generate validation prompts for JSR-380 annotated types

Functions

Link copied to clipboard
fun isActionMethod(logger: <Error class: unknown class>, method: Method, agentClass: Class<*>, requireInterfaceDeserializationAnnotations: Boolean): Boolean

Returns true, if the given method is

Link copied to clipboard
fun isConditionMethod(method: Method, agentClass: Class<*>): Boolean

Returns true, if the given method is